import request from "/@/utils/request";

/**
 * 忘记密码
 * @param params 要传的参数值
 * @returns 返回接口数据
 * @method teacherForget 教师忘记密码
 * @method studentForget 学生忘记密码
 * @method administratorForget 管理员忘记密码
 */

 export function teacherForget(params: any) {
    return request({
      url: "teacher/update/password",
      method: "put",
      data: params,
    });
  }

  export function studentForget(params: any) {
    return request({
      url: "student/update/password",
      method: "put",
      data: params,
    });
  }

  export function administratorForget(params: any) {
    return request({
      url: "admin/update/password",
      method: "put",
      data: params,
    });
  }